//
//  ZGLAboutFirstTVC.m
//  Faker
//
//  Created by dllo on 15/11/9.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "ZGLAboutFirstTVC.h"

@interface ZGLAboutFirstTVC ()

@property (nonatomic, strong) UIImageView *logoImage;
@property (nonatomic, strong) UILabel *AppName;
@property (nonatomic, strong) UILabel *companyLabel;

@end


@implementation ZGLAboutFirstTVC


-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
     self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.logoImage = [[UIImageView alloc] init];
        self.AppName = [[UILabel alloc] init];
        self.companyLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.logoImage];
        [self.contentView addSubview:self.AppName];
        [self.contentView addSubview:self.companyLabel];
    }
    return self;
    
}
-(void)layoutSubviews {
    [super layoutSubviews];
    self.logoImage.frame = CGRectMake(165 * ScaleX, 20 * ScaleX, 45 * ScaleX, 45 * ScaleX);
    self.logoImage.backgroundColor = [UIColor redColor];
    self.AppName.frame = CGRectMake(165 * ScaleX, 65 * ScaleX, 45 * ScaleX, 20 * ScaleX);
    self.AppName.text = @"Faker";
    self.AppName.backgroundColor = [UIColor greenColor];
    self.companyLabel.frame = CGRectMake(20 * ScaleX, 90 * ScaleX, 335 * ScaleX, 150 * ScaleX);
    self.companyLabel.numberOfLines = 0;
    self.companyLabel.text = @"    Faker，是一款互动分享和个性化定制阅读软件，也是一款阅读应用。Faker将资讯、报纸、杂志、图片等众多内容，按照用户意愿聚合到一起，实现深度个性化定制。用户可根据个人喜好订阅内容，也可通过Faker智能推送功能获取信息。对于感兴趣的内容，用户可以通过微博、微信、QQ、邮件等社交媒体平台将图文分享收藏";
    self.companyLabel.font = [UIFont systemFontOfSize:15];
    self.companyLabel.textColor = [UIColor colorWithRed:0.339 green:0.357 blue:0.357 alpha:1.000];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
